From a540670a9f468298fb7ccce6f2544cd4180a4db1 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Wed, 8 Apr 2026 14:06:37 +0200 Subject: [PATCH] Remove functions with declaration-only Part-of: --- src/meson.build | 1 - src/shell-app-system.c | 1 - src/shell-app.c | 1 - src/shell-window-tracker-private.h | 8 -------- src/shell-window-tracker.c | 1 - src/st/st-dnd-start-gesture.h | 3 --- src/st/st-private.h | 2 -- 7 files changed, 17 deletions(-) delete mode 100644 src/shell-window-tracker-private.h diff --git a/src/meson.build b/src/meson.build index 8e45074c5..5b7a248f0 100644 --- a/src/meson.build +++ b/src/meson.build @@ -148,7 +148,6 @@ libshell_private_headers = [ 'shell-app-cache-private.h', 'shell-app-system-private.h', 'shell-global-private.h', - 'shell-window-tracker-private.h', 'shell-wm-private.h' ] diff --git a/src/shell-app-system.c b/src/shell-app-system.c index 700704405..b886b7977 100644 --- a/src/shell-app-system.c +++ b/src/shell-app-system.c @@ -11,7 +11,6 @@ #include "shell-app-cache-private.h" #include "shell-app-private.h" -#include "shell-window-tracker-private.h" #include "shell-app-system-private.h" #include "shell-global.h" #include "shell-util.h" diff --git a/src/shell-app.c b/src/shell-app.c index 8a90f4384..34f75c185 100644 --- a/src/shell-app.c +++ b/src/shell-app.c @@ -15,7 +15,6 @@ #include "shell-global.h" #include "shell-util.h" #include "shell-app-system-private.h" -#include "shell-window-tracker-private.h" #include "st.h" #include "gtkactionmuxer.h" #include "org-gtk-application.h" diff --git a/src/shell-window-tracker-private.h b/src/shell-window-tracker-private.h deleted file mode 100644 index fd5bf8869..000000000 --- a/src/shell-window-tracker-private.h +++ /dev/null @@ -1,8 +0,0 @@ -/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ -#pragma once - -#include "shell-window-tracker.h" - -void _shell_window_tracker_add_child_process_app (ShellWindowTracker *tracker, - GPid pid, - ShellApp *app); diff --git a/src/shell-window-tracker.c b/src/shell-window-tracker.c index 124176421..bfff29aea 100644 --- a/src/shell-window-tracker.c +++ b/src/shell-window-tracker.c @@ -14,7 +14,6 @@ #include #endif -#include "shell-window-tracker-private.h" #include "shell-app-private.h" #include "shell-global.h" #include "st.h" diff --git a/src/st/st-dnd-start-gesture.h b/src/st/st-dnd-start-gesture.h index 2e3cf804d..336d01d6c 100644 --- a/src/st/st-dnd-start-gesture.h +++ b/src/st/st-dnd-start-gesture.h @@ -17,9 +17,6 @@ G_DECLARE_FINAL_TYPE (StDndStartGesture, st_dnd_start_gesture, void st_dnd_start_gesture_start_drag (StDndStartGesture *self, const ClutterEvent *start_event); -void st_dnd_start_gesture_get_drag_coords (StDndStartGesture *self, - graphene_point_t *coords_out); - const ClutterEvent * st_dnd_start_gesture_get_point_begin_event (StDndStartGesture *self); const ClutterEvent * st_dnd_start_gesture_get_drag_triggering_event (StDndStartGesture *self); diff --git a/src/st/st-private.h b/src/st/st-private.h index 214105a44..d818ced9e 100644 --- a/src/st/st-private.h +++ b/src/st/st-private.h @@ -38,8 +38,6 @@ G_BEGIN_DECLS G_END_DECLS -ClutterActor *_st_widget_get_dnd_clone (StWidget *widget); - void _st_actor_get_preferred_width (ClutterActor *actor, gfloat for_height, gboolean y_fill, -- 2.39.5